<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./index.css">
    <style>
    .box{
       width: 100px;
       height: 100px;
       background-color: thistle;
       font-size: 26px;
       }
       .login{
        width: 200px;
        height: 200px;
        background-color: aquamarine;
       }
    </style>
</head>
<body>
    <div class="box">
        首页+js
    </div>
    <div class="login">
        登录页面
    </div>
    <div class="new">
        新内容
    </div>
    <script>
        // git add . 把工作区的内容提交到暂存区
        // git status 查看提交的状态
        // git commit -m '注释'  从暂存区提交到版本库
        const box=document.querySelector('.box')
        box.addEventListener('click', function () {
            console.log('点击');
            
        })
    </script>
</body>
</html>